package com.liao.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liao.seckill.pojo.User;
import com.liao.seckill.vo.LoginVo;
import com.liao.seckill.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author lzp
 * @version 1.0
 * lzpnb!
 */

public interface UserService extends IService<User> {
    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);

    User getUserByCookie(String userTicket,HttpServletRequest request, HttpServletResponse response);

    RespBean updatePassword(String userTicket,String password,HttpServletRequest request, HttpServletResponse response);
}
